package com.guigu.servicesystem.service;

import com.guigu.common_util.pojo.utils.Result;
import com.guigu.servicesystem.entity.TbMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-08
 */
public interface TbMenuService extends IService<TbMenu> {

    Result findPage(Map<String, Object> searchMap, Integer page, Integer size);
    //按层级关系查询所有菜单
    List<Map> findMenuByParentId();

}
